package com.room.search.service.dto.city;

import java.io.Serializable;

/**
 * By   : ghd.bright
 * Time : 2022/3/14
 * Description: 区县区域范围DTO
 */
public class CityZoneGeoPointsDTO implements Serializable {

    private String lng;
    private String lat;
    //    城市
    private String posCity;
    //    区县名
    private String name;
    //区县的小区数量
    private Integer houseCnt;

    public CityZoneGeoPointsDTO(String lng, String lat, String posCity, String name, Integer houseCnt) {
        this.lng = lng;
        this.lat = lat;
        this.posCity = posCity;
        this.name = name;
        this.houseCnt = houseCnt;
    }

    @Override
    public String toString() {
        return "CityZoneGeoPointsDTO{" +
            "lng='" + lng + '\'' +
            ", lat='" + lat + '\'' +
            ", posCity='" + posCity + '\'' +
            ", name='" + name + '\'' +
            ", houseCnt='" + houseCnt + '\'' +
            '}';
    }

    public String getLng() {
        return lng;
    }

    public CityZoneGeoPointsDTO setLng(String lng) {
        this.lng = lng;
        return this;
    }

    public String getLat() {
        return lat;
    }

    public CityZoneGeoPointsDTO setLat(String lat) {
        this.lat = lat;
        return this;
    }

    public String getPosCity() {
        return posCity;
    }

    public CityZoneGeoPointsDTO setPosCity(String posCity) {
        this.posCity = posCity;
        return this;
    }

    public String getName() {
        return name;
    }

    public CityZoneGeoPointsDTO setName(String name) {
        this.name = name;
        return this;
    }

    public Integer getHouseCnt() {
        return houseCnt;
    }

    public CityZoneGeoPointsDTO setHouseCnt(Integer houseCnt) {
        this.houseCnt = houseCnt;
        return this;
    }
}

